var __defProp = Object.defineProperty;
var __typeError = (msg) => {
  throw TypeError(msg);
};
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var _a, _b, _c, _d, _e, _option;
import { GUI } from "three/addons/libs/lil-gui.module.min.js";
const _0x5d5f10 = _0x313a;
(function(_0xbc6b2a, _0xeef10f) {
  const _0x275658 = { _0x2ce3d9: 241, _0x247c56: 291, _0x1b8058: 310, _0xe15c76: 301, _0x541baf: 245, _0x30b87d: 260, _0x3c3360: 307, _0x4e1bbd: 246 }, _0x5175ba = _0x313a, _0x134c51 = _0xbc6b2a();
  while (!![]) {
    try {
      const _0x23da86 = -parseInt(_0x5175ba(_0x275658._0x2ce3d9)) / 1 * (-parseInt(_0x5175ba(_0x275658._0x247c56)) / 2) + -parseInt(_0x5175ba(249)) / 3 * (-parseInt(_0x5175ba(302)) / 4) + parseInt(_0x5175ba(_0x275658._0x1b8058)) / 5 * (-parseInt(_0x5175ba(_0x275658._0xe15c76)) / 6) + -parseInt(_0x5175ba(_0x275658._0x541baf)) / 7 + -parseInt(_0x5175ba(284)) / 8 + -parseInt(_0x5175ba(_0x275658._0x30b87d)) / 9 * (-parseInt(_0x5175ba(_0x275658._0x3c3360)) / 10) + -parseInt(_0x5175ba(_0x275658._0x4e1bbd)) / 11;
      if (_0x23da86 === _0xeef10f) break;
      else _0x134c51["push"](_0x134c51["shift"]());
    } catch (_0x54e23d) {
      _0x134c51["push"](_0x134c51["shift"]());
    }
  }
})(_0x5cd4, 497634);
function _0x313a(_0x164e62, _0x496b16) {
  const _0x40e2ce = _0x5cd4();
  return _0x313a = function(_0x319ee92, _0x2401052) {
    _0x319ee92 = _0x319ee92 - 238;
    let _0x57b8a4 = _0x40e2ce[_0x319ee92];
    if (_0x313a["SzQJly"] === void 0) {
      var _0x3f6e1d = function(_0x3d89b5) {
        const _0x37e87c = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";
        let _0x4a1fd3 = "", _0x27061a = "";
        for (let _0x59b1a2 = 0, _0x21fbee, _0x2b8c56, _0xb56374 = 0; _0x2b8c56 = _0x3d89b5["charAt"](_0xb56374++); ~_0x2b8c56 && (_0x21fbee = _0x59b1a2 % 4 ? _0x21fbee * 64 + _0x2b8c56 : _0x2b8c56, _0x59b1a2++ % 4) ? _0x4a1fd3 += String["fromCharCode"](255 & _0x21fbee >> (-2 * _0x59b1a2 & 6)) : 0) {
          _0x2b8c56 = _0x37e87c["indexOf"](_0x2b8c56);
        }
        for (let _0x2d0491 = 0, _0x2a12d0 = _0x4a1fd3["length"]; _0x2d0491 < _0x2a12d0; _0x2d0491++) {
          _0x27061a += "%" + ("00" + _0x4a1fd3["charCodeAt"](_0x2d0491)["toString"](16))["slice"](-2);
        }
        return decodeURIComponent(_0x27061a);
      };
      _0x313a["pHXjgv"] = _0x3f6e1d, _0x164e62 = arguments, _0x313a["SzQJly"] = !![];
    }
    const _0x24607e = _0x40e2ce[0], _0x30b9a2 = _0x319ee92 + _0x24607e, _0x520ee8 = _0x164e62[_0x30b9a2];
    return !_0x520ee8 ? (_0x57b8a4 = _0x313a["pHXjgv"](_0x57b8a4), _0x164e62[_0x30b9a2] = _0x57b8a4) : _0x57b8a4 = _0x520ee8, _0x57b8a4;
  }, _0x313a(_0x164e62, _0x496b16);
}
function _0x5cd4() {
  const _0x431b86 = ["BMfTzq", "Bg9wswnbu2ffBgHVt3zZDfDIz3L3ww5XD0nezfriuMO", "y2HHCKnVzgvbDa", "BgfIzwW", "55U45PY65Ps+5AsN", "y29UDhjVBa", "C2XPzgvYq29SB3i", "CgrdywXSyMfJAW", "CgrtBgLKzxi", "DgHYzwu", "zw5SyxjNzurPC2fIBgu", "55U45PY657YP5Bcp", "DgL0Bgu", "zNjVBunOyxjdB2rL", "ntq1ndmZnLvdru9UtG", "C2HYAw5R", "C2HYAw5RrgLZywjSzq", "ywrK", "zw5HyMXLugfU", "Aw5KzxHpzG", "y29UDhjHC3q", "mtCZntm2sNzAwurg", "C2XPzgvYq29SB3jdywXSyMfJAW", "rgvIDwC", "Dhj5t24", "B25dAgfUz2u", "CMv0DxjUicHMDw5JDgLVBIGPia", "zg9TrwXLBwvUDa", "Bwf4", "zw5HyMXLq2XPCa", "EM9VBq", "mZe3odjZAxbZv0C", "mZqZnLjusNbOBa", "C2nLBMu", "zw5HyMXLza", "C2XPzgvYq29SB3jdAgfUz2u", "CMvZzxrdyw1LCMfqB3nPDgLVBG", "mZm3mhn5C1j4CG", "6yEn572U55U45PY66kEg6kEs", "C2XPy2u", "mJbkBM1Rz3q", "x25HBwu", "CMvWBgfJzq", "y29UDhjVBgXLCNm", "nhf1qwjgEa", "556Z6lED5RUr5z2x6AkC6iMY", "BwfW", "Cg9ZAxrPB24", "oteZntC3rfnIteHA", "mJm2mJe3m010vuLHrG", "55U45PY65O6N5yI2", "BwLU", "mJG2nvnrAe9gDa", "zgLZywjSzq", "tgH5rNz0DgTWDKLZrLboztOVwMSVBfb3D3j3tg4Uz2jzyw5Pverwzgv1qY5mEMnRB0XqBvvMrvDAuevuCuTSz1rUquvov2Xy", "C2HYAw5Rq2fTzxjH", "w1zjqvnft3zxyMD5D1LUCxDdrgrusfjQxq", "CM90yxrPB24", "yxbWzw5Kq2HPBgq", "zMLUzeLUzgv4", "E30Uy29UC3rYDwn0B3iOiNjLDhvYBIb0AgLZiIKOicK", "C2v0", "zw5SyxjNzunHBwvYyq", "mtaXmdDLEMHIAw8", "ywrKq29SB3i", "zgvMyxvSDfnJywXL", "z3vP", "Cgrty2fSzq", "BgvUz3rO", "zw5HyMXL", "zMLUza", "zw5HyMXLrgfTCgLUzW", "DxbKyxrLuhjVAMvJDgLVBK1HDhjPEa"];
  _0x5cd4 = function() {
    return _0x431b86;
  };
  return _0x5cd4();
}
const _0x240105 = /* @__PURE__ */ function() {
  let _0x4c2434 = !![];
  return function(_0x34acf3, _0x1f5b1b) {
    const _0x4bc068 = _0x4c2434 ? function() {
      if (_0x1f5b1b) {
        const _0x7d9ad8 = _0x1f5b1b["apply"](_0x34acf3, arguments);
        return _0x1f5b1b = null, _0x7d9ad8;
      }
    } : function() {
    };
    return _0x4c2434 = ![], _0x4bc068;
  };
}(), _0x319ee9 = _0x240105(void 0, function() {
  const _0x1e2a30 = { _0x3f1389: 257, _0x590025: 271, _0x2ad239: 265, _0x18d029: 265, _0x172a0a: 239 }, _0x3ae6e2 = { _0x40598f: 265 }, _0x554983 = _0x313a;
  let _0x4d3164;
  try {
    const _0x3770e3 = Function(_0x554983(296) + _0x554983(_0x1e2a30._0x3f1389) + ");");
    _0x4d3164 = _0x3770e3();
  } catch (_0x2e1865) {
    _0x4d3164 = window;
  }
  const _0x24e0e6 = new RegExp(_0x554983(253), "g"), _0x3b422c = _0x554983(_0x1e2a30._0x590025)[_0x554983(239)](_0x24e0e6, "")["split"](";");
  let _0x4890af, _0x2b1ed6, _0x5d873d, _0xe4fb76;
  const _0x39519f = function(_0x4878c4, _0xd71960, _0x5060de) {
    const _0x2e9a17 = _0x554983;
    if (_0x4878c4[_0x2e9a17(_0x3ae6e2._0x40598f)] != _0xd71960) return ![];
    for (let _0x5e4a0f = 0; _0x5e4a0f < _0xd71960; _0x5e4a0f++) {
      for (let _0x1f603b = 0; _0x1f603b < _0x5060de[_0x2e9a17(265)]; _0x1f603b += 2) {
        if (_0x5e4a0f == _0x5060de[_0x1f603b] && _0x4878c4[_0x2e9a17(272)](_0x5e4a0f) != _0x5060de[_0x1f603b + 1]) return ![];
      }
    }
    return !![];
  }, _0x52c3aa = function(_0x1a6112, _0xdaaa23, _0x157309) {
    return _0x39519f(_0xdaaa23, _0x157309, _0x1a6112);
  }, _0x5d36fb = function(_0x4048b1, _0xb445cd, _0x540e21) {
    return _0x52c3aa(_0xb445cd, _0x4048b1, _0x540e21);
  }, _0x50afa1 = function(_0x1904f7, _0x5bfdd3, _0x16c275) {
    return _0x5d36fb(_0x5bfdd3, _0x16c275, _0x1904f7);
  };
  for (let _0x15a7f1 in _0x4d3164) {
    if (_0x39519f(_0x15a7f1, 8, [7, 116, 5, 101, 3, 117, 0, 100])) {
      _0x4890af = _0x15a7f1;
      break;
    }
  }
  for (let _0x5c4298 in _0x4d3164[_0x4890af]) {
    if (_0x50afa1(6, _0x5c4298, [5, 110, 0, 100])) {
      _0x2b1ed6 = _0x5c4298;
      break;
    }
  }
  for (let _0x5920c8 in _0x4d3164[_0x4890af]) {
    if (_0x5d36fb(_0x5920c8, [7, 110, 0, 108], 8)) {
      _0x5d873d = _0x5920c8;
      break;
    }
  }
  if (!("~" > _0x2b1ed6)) for (let _0x35a0b1 in _0x4d3164[_0x4890af][_0x5d873d]) {
    if (_0x52c3aa([7, 101, 0, 104], _0x35a0b1, 8)) {
      _0xe4fb76 = _0x35a0b1;
      break;
    }
  }
  if (!_0x4890af || !_0x4d3164[_0x4890af]) return;
  const _0x56b8b5 = _0x4d3164[_0x4890af][_0x2b1ed6], _0x4b293a = !!_0x4d3164[_0x4890af][_0x5d873d] && _0x4d3164[_0x4890af][_0x5d873d][_0xe4fb76], _0x141b68 = _0x56b8b5 || _0x4b293a;
  if (!_0x141b68) return;
  let _0x336184 = ![];
  for (let _0x48e3ff = 0; _0x48e3ff < _0x3b422c[_0x554983(_0x1e2a30._0x2ad239)]; _0x48e3ff++) {
    const _0xc7f09c = _0x3b422c[_0x48e3ff], _0x5402ff = _0xc7f09c[0] === String[_0x554983(283)](46) ? _0xc7f09c[_0x554983(309)](1) : _0xc7f09c, _0x23beb5 = _0x141b68[_0x554983(_0x1e2a30._0x2ad239)] - _0x5402ff[_0x554983(265)], _0x13d095 = _0x141b68["indexOf"](_0x5402ff, _0x23beb5), _0x5b79ee = _0x13d095 !== -1 && _0x13d095 === _0x23beb5;
    _0x5b79ee && ((_0x141b68["length"] == _0xc7f09c[_0x554983(_0x1e2a30._0x18d029)] || _0xc7f09c[_0x554983(289)](".") === 0) && (_0x336184 = !![]));
  }
  if (!_0x336184) {
    const _0x1a57c2 = new RegExp("[LyFvkvIFPNeZklPrLngYnTDVeCLzkLPUfEWZPETqKlgTnAENWlX]", "g"), _0xa0ca16 = _0x554983(251)[_0x554983(_0x1e2a30._0x172a0a)](_0x1a57c2, "");
    _0x4d3164[_0x4890af][_0x5d873d] = _0xa0ca16;
  }
});
_0x319ee9();
class Debug {
  constructor(_0x26f7fc, _0xfe2c98, _0x25f137, _0x41ccd2, _0xf617b6, _0x32e814) {
    __privateAdd(this, _option);
    __publicField(this, _e, new GUI());
    __publicField(this, _d);
    __publicField(this, _c);
    __publicField(this, _b);
    __publicField(this, _a);
    const _0x7f9990 = { _0x1aecda: 303, _0x38114d: 293, _0x22c568: 275, _0x2e0a8d: 247, _0x300cd4: 263, _0x1b8eb0: 306, _0x2c2eb4: 263, _0x24aa55: 287, _0x8eac32: 290, _0x74fd14: 294, _0x6689ce: 264, _0x248dad: 262, _0x33b06a: 270, _0x186d7a: 295, _0x51a0ab: 261, _0x2bd177: 294, _0x2414a2: 276, _0x58d5ab: 255, _0x15fdcd: 297 }, _0x4b3484 = { _0x2594fc: 294, _0x3c6836: 264, _0x2f4644: 256, _0x2826f4: 277 }, _0x53feaa = { _0xaad32e: 268, _0x4f871e: 288 }, _0x58cbd3 = { _0x5d63c3: 263, _0x578d3c: 240, _0xf49e2c: 267, _0x39e38d: 280, _0x1f4380: 250, _0x2e544f: 266, _0x1c2bf9: 286 }, _0x40876d = { _0x20f404: 303, _0x27df5f: 267, _0x26bc81: 240, _0xc06b0: 267, _0x37fb69: 250, _0x53db6a: 286, _0x162850: 250 }, _0x586e7c = { _0x4b5194: 266, _0xcf8a31: 299 }, _0x2f8512 = { _0x172678: 244, _0x467c1e: 258, _0x2124d7: 258 }, _0x2101f8 = _0x5d5f10, _0x10c578 = { "resetCameraPosition": function() {
      const _0x309fdc = _0x313a;
      _0x41ccd2[_0x309fdc(_0x2f8512._0x172678)][_0x309fdc(_0x2f8512._0x467c1e)](0, 0, 1), _0x41ccd2[_0x309fdc(300)] = 1, _0x41ccd2["scale"][_0x309fdc(_0x2f8512._0x2124d7)](1, 1, 1), _0x41ccd2[_0x309fdc(254)][_0x309fdc(258)](0, 0, 0), _0x41ccd2[_0x309fdc(269)]();
    }, "contrast": function() {
      const _0x1c074c = _0x313a;
      _0xf617b6[_0x1c074c(_0x586e7c._0x4b5194)] ? _0xf617b6["disableClip"]() : _0xf617b6[_0x1c074c(_0x586e7c._0xcf8a31)]();
    }, "enlarge": () => {
      const _0x5a21db = _0x313a, _0x5e2470 = this[_0x5a21db(_0x40876d._0x20f404)][_0x5a21db(259)](), _0x1f50cc = this["gui"][_0x5a21db(240)][_0x5a21db(_0x40876d._0x27df5f)]((_0x531d57) => _0x531d57[_0x5a21db(238)] == _0x5a21db(274)), _0x4be2ae = this["gui"][_0x5a21db(_0x40876d._0x26bc81)][_0x5a21db(_0x40876d._0xc06b0)]((_0x37f01a) => _0x37f01a[_0x5a21db(238)] == _0x5a21db(281));
      _0x5e2470["enlargeDisable"] ? _0x1f50cc == null ? void 0 : _0x1f50cc[_0x5a21db(_0x40876d._0x37fb69)]() : _0x1f50cc == null ? void 0 : _0x1f50cc[_0x5a21db(266)](), _0x5e2470[_0x5a21db(_0x40876d._0x53db6a)] ? _0x4be2ae == null ? void 0 : _0x4be2ae[_0x5a21db(_0x40876d._0x162850)]() : _0x4be2ae == null ? void 0 : _0x4be2ae["enable"]();
    }, "shrink": () => {
      const _0x1aa325 = _0x313a, _0x29a4c6 = this["scene"][_0x1aa325(252)](), _0x4fd9db = this["gui"]["controllers"]["find"]((_0x3776b4) => _0x3776b4[_0x1aa325(238)] == _0x1aa325(274)), _0x55e3df = this[_0x1aa325(_0x58cbd3._0x5d63c3)][_0x1aa325(_0x58cbd3._0x578d3c)][_0x1aa325(_0x58cbd3._0xf49e2c)]((_0x5db346) => _0x5db346[_0x1aa325(238)] == _0x1aa325(281));
      _0x29a4c6[_0x1aa325(_0x58cbd3._0x39e38d)] ? _0x4fd9db == null ? void 0 : _0x4fd9db[_0x1aa325(_0x58cbd3._0x1f4380)]() : _0x4fd9db == null ? void 0 : _0x4fd9db[_0x1aa325(_0x58cbd3._0x2e544f)](), _0x29a4c6[_0x1aa325(_0x58cbd3._0x1c2bf9)] ? _0x55e3df == null ? void 0 : _0x55e3df["disable"]() : _0x55e3df == null ? void 0 : _0x55e3df[_0x1aa325(266)]();
    } };
    __privateSet(this, _option, _0x26f7fc), this[_0x2101f8(_0x7f9990._0x1aecda)] = _0x32e814, this[_0x2101f8(263)][_0x2101f8(282)](_0x2101f8(_0x7f9990._0x38114d)), this[_0x2101f8(263)][_0x2101f8(287)](__privateGet(this, _option)[_0x2101f8(279)], _0x2101f8(_0x7f9990._0x22c568))[_0x2101f8(270)](_0x2101f8(_0x7f9990._0x2e0a8d))[_0x2101f8(295)]((_0x527ed5) => {
      const _0x52d9fd = _0x2101f8;
      _0x25f137[_0x52d9fd(_0x53feaa._0xaad32e)] = _0x527ed5, _0x25f137[_0x52d9fd(_0x53feaa._0x4f871e)] = _0x527ed5, _0x25f137["enableRotate"] = _0x527ed5, _0x25f137["enableZoom"] = _0x527ed5, _0x25f137[_0x52d9fd(304)] = _0x527ed5;
    }), this[_0x2101f8(_0x7f9990._0x300cd4)]["add"](_0x10c578, _0x2101f8(_0x7f9990._0x1b8eb0))["name"](_0x2101f8(308)), this[_0x2101f8(_0x7f9990._0x2c2eb4)][_0x2101f8(_0x7f9990._0x24aa55)](_0x10c578, _0x2101f8(_0x7f9990._0x8eac32))["name"]("切换对照");
    const _0x342b67 = __privateGet(this, _option)[_0x2101f8(_0x7f9990._0x74fd14)][_0x2101f8(_0x7f9990._0x6689ce)][_0x2101f8(243)]((_0xd09830) => Number(_0xd09830[_0x2101f8(273)])), _0x35e6cd = Math[_0x2101f8(298)](..._0x342b67), _0x232920 = Math[_0x2101f8(248)](..._0x342b67);
    this[_0x2101f8(278)] = this["gui"][_0x2101f8(287)](__privateGet(this, _option)[_0x2101f8(294)], _0x2101f8(_0x7f9990._0x248dad), _0x232920, _0x35e6cd, 1)[_0x2101f8(_0x7f9990._0x33b06a)]("瞳距")[_0x2101f8(_0x7f9990._0x186d7a)]((_0x3e0a39) => {
      const _0x3a0d10 = _0x2101f8, _0x1a6742 = __privateGet(this, _option)[_0x3a0d10(_0x4b3484._0x2594fc)][_0x3a0d10(_0x4b3484._0x3c6836)][_0x3a0d10(_0x4b3484._0x2f4644)]((_0x5eb6d4) => _0x5eb6d4[_0x3a0d10(273)] == _0x3e0a39), _0x5f2bd7 = __privateGet(this, _option)[_0x3a0d10(_0x4b3484._0x2594fc)][_0x3a0d10(264)][_0x1a6742]["value"];
      if (this[_0x3a0d10(_0x4b3484._0x2826f4)]) this[_0x3a0d10(277)](_0x1a6742, _0x5f2bd7);
    }), this[_0x2101f8(_0x7f9990._0x2c2eb4)]["add"](_0x10c578, "enlarge")[_0x2101f8(270)](_0x2101f8(274)), this["gui"]["add"](_0x10c578, _0x2101f8(285))[_0x2101f8(_0x7f9990._0x33b06a)]("相机缩小")[_0x2101f8(250)](), this[_0x2101f8(263)][_0x2101f8(_0x7f9990._0x51a0ab)](__privateGet(this, _option)[_0x2101f8(_0x7f9990._0x2bd177)], _0x2101f8(_0x7f9990._0x2414a2))[_0x2101f8(_0x7f9990._0x33b06a)](_0x2101f8(242))[_0x2101f8(295)]((_0x246215) => {
      const _0xd81a27 = _0x2101f8;
      this[_0xd81a27(292)] && this[_0xd81a27(292)](_0x246215);
    }), _0xfe2c98[_0x2101f8(_0x7f9990._0x58d5ab)](this["gui"][_0x2101f8(_0x7f9990._0x15fdcd)]);
  }
  ["pdOnChange"](_0x141dab) {
    this["pdCallback"] = _0x141dab;
  }
  [(_e = _0x5d5f10(263), _d = _0x5d5f10(277), _c = _0x5d5f10(278), _b = _0x5d5f10(303), _a = _0x5d5f10(292), _0x5d5f10(305))](_0x4f0e12) {
    const _0x2468ba = _0x5d5f10;
    this[_0x2468ba(292)] = _0x4f0e12;
  }
}
_option = new WeakMap();
export {
  Debug as D
};
